package com.service.impl;

import com.entity.Post;
import com.mapper.PostDao;
import com.mapper.UsersDao;
import com.service.PostService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 公司岗位表 服务实现类
 * </p>
 *
 * @author Damon
 * @since 2021-04-26
 */
@Service
public class PostServiceImpl extends ServiceImpl<PostDao, Post> implements PostService {
    @Autowired(required = false)
    private PostDao postDao;
    @Override
    public List<Post> searchPost(@Param("content") String content) {
        return postDao.searchPost(content);
    }
}
